/*
 * CourseRegistration.cpp
 *
 *  Created on: 1 May 2010
 *      Author: Savramis Sartios
 */

#include "CourseRegistration.h"

CourseRegistration::CourseRegistration(const string *aem/*,const IDate * date*/) {
	setOwner(aem);
	/*setDate(date);*/
}

CourseRegistration::~CourseRegistration() {
	delete owner_;
}

void	CourseRegistration::setOwner(const string *aem){
	if(0!=aem){
		owner_ = new string(*aem);
	}
}

string * CourseRegistration::getOwner()const{
	return owner_;
}

/*
void	CourseRegistration::setDate(const IDate * date){
	if(0!=date){
		*date_=*date;
	}
}

IDate * CourseRegistration::getDate()const{
	return date_;
}
*/
